<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta charset="utf-8">
<title>{$site.webtitle}</title>
<meta name="keywords" content="{$site.webkeywords}">
<meta name="description" content="{$site.webdescription}">
<link rel="stylesheet" href="__PUBLIC__/static/mobile/css/swiper.min.css">
<link rel="stylesheet" href="__PUBLIC__/static/mobile/css/style.css?t={:time()}" />
<link rel="stylesheet" href="__PUBLIC__/static/mobile/css/member.css?t={:time()}" />
<script src="__PUBLIC__/static/mobile/js/jquery.1.11.js"></script>
<script src="__PUBLIC__/static/mobile/js/swiper.min.js"></script>
</head>
<body>
<div class="head"><a href="{:ui(1)}"><img src="__PUBLIC__{:config('weblogo')}" alt="" class="logo" /></a>
  <div class="menushow"><span></span><span></span><span></span></div>
  <a href="tel:{$site.contact_tel}" title="{$site.contact_tel}" class="tel"></a>
</div>
<div class="mask"></div>
<div class="menu">
  <div class="menutop">
    {if condition="$meminfo"}
    <a href="__PUBLIC__/index/Member/index">
    <div class="headimg" style="background:url(__PUBLIC__{$meminfo.head|default='/static/index/img/mem/head.png'}) no-repeat center; background-size:cover;">
      <img src="__PUBLIC__{$meminfo.head|default='/static/index/mem/head.png'}" alt="">
    </div>
    </a>
    <p>{$meminfo.name}</p>   
    <p><a href="__PUBLIC__/index/Login/exitLogin">[退出登录]</a></p>  
    {else}
    <a href="__PUBLIC__/index/Login/index">
      <div class="headimg" style="background:url(__PUBLIC__/static/index/img/mem/head.png) no-repeat center; background-size:cover;"></div>
      <p>登录/注册</p>
    </a>
    {/if}
  </div>
  <ul>
    <li><a href="{:ui(1)}">首页</a></li>
    {volist name="nav" id="n"}
    <li><a href="{:u($n.entitle,'',1)}">{$n.title}</a> </li>
    {/volist}
  </ul>
</div>
<script>
$(function(){  
   hidemenu();	
   $(".menushow").click(function(){	   	  
	  	$(".menu").addClass("show");
		$(".mask").addClass("show");
		$(this).addClass("on");					  
   })
   $(".mask").click(function(){ 
       hidemenu();
   })
   function hidemenu(){    
	 $(".menu").removeClass("show");
	 $(".mask").removeClass("show");
	 $(".menushow").removeClass("on");	 
   } 
})
</script>